home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / LORD2B6.ZIP / INN.REF < prev    next >
Text File  |  1997-05-19  |  14KB  |  725 lines

  1. @#castle
  2. ;castle
  3. @do moveback
  4. @do saybar
  5. `0Sign on door: `2Will be for sale in next beta.
  6.  
  7.  
  8. @#ferrynot
  9. @do moveback
  10. @do saybar
  11. Ferry closed.  Will be active in next version. (it will cost $1000 I think)
  12. @#bartender
  13. @do moveback
  14. @if `p09 < 2 then do
  15.   @begin
  16.   @do saybar
  17. `0Bartender: `2Get outta my face kid, I've never heard of you!
  18.   @closescript
  19.   @end
  20. @do `v01 is 1
  21. @show
  22. `r0`c  `r1 Talking to the bartender `r0
  23.  
  24.   `0"What do ya want, punk?"
  25.  
  26. @do write
  27. `x`x
  28. @choice
  29. Conduct business with the bartender
  30. Leave
  31. @if responce is 1 then do
  32.   @begin
  33.   @do `p20 is 1
  34.   @run getquest in quest.ref
  35.   @end
  36.  
  37. @drawmap
  38. @update
  39.  
  40. @#FERRY
  41. ;Ferrys on the Northern Continents        
  42. @offmap
  43. @DO `v01 is 1
  44. @SHOW
  45. `r0`c  `r1  `%Looks like a Ferry!  `r0
  46.  
  47.   `2A man at the counter greets you `0"Hello there, like to travel across the
  48.   ocean?  It'll cost you 1000 gold."
  49.                       
  50. @DO WRITE
  51. `x`x
  52. @CHOICE
  53. >&Money 999 Take the Ferry
  54. Leave
  55. @IF RESPONSE IS 1 THEN DO
  56. @Begin
  57. @do money - 1000
  58. @Show
  59. `\`\  `$"Let's take a trip,"`2 you say and pay the man.
  60. `\`k
  61.   @if map is 215 then do
  62.     @begin
  63.     @loadmap 203
  64.     @do map is 203
  65.     @do x is 47
  66.     @do y is 13
  67.     @drawmap
  68.     @update
  69.     @DO SAYBAR
  70. `2Looks like a new land ...
  71.     @closescript
  72.     @end
  73.   @loadmap 215
  74.   @do map is 215
  75.   @do x is 49
  76.   @do y is 10
  77.   @drawmap
  78.   @update
  79.   @closescript         
  80. @End
  81. @IF RESPONSE IS 2 THEN DO
  82. @Begin
  83. @Show
  84. `\`\  `2Maybe later...
  85. `\`k
  86. @DO MOVEBACK
  87. @DRAWMAP
  88. @UPDATE
  89. @CLOSESCRIPT
  90. @End
  91.  
  92.  
  93. @#CABIN
  94. @do `v01 is 1
  95. @do moveback
  96.  
  97.  
  98. @if bitcheck `t12 5 1 then do
  99.   @begin
  100.   @do saybar
  101. No one is here.  Oh yeah, they moved to Greentree, remember?
  102.   @closescript
  103.   @end
  104.  
  105.  
  106. @if `i42 > 0 then do
  107.   @begin
  108.   @do saybar
  109. `0Uncle Edward: `2What are we doing back here?
  110.   @do quebar
  111. `0Laura: `#Take us to Greentree, `n`#!
  112.   @closescript
  113.   @end
  114.  
  115. @if bitcheck `t12 4 1 then do
  116.   @begin
  117.   @show
  118. `r0`c  `r1  THE CABIN  `r0
  119.  
  120. `2  A young woman opens the door.  `#"Have you changed your mind?"
  121.  
  122.   @do write
  123. `x`x
  124.   @choice
  125. Yes, I'll take you and your uncle to Greentree, ok?
  126. No - just came by to tell you no again.  Haw!
  127.   @if response is 2 then do
  128.     @begin
  129.     @show
  130. `\`\  `2Laura is not amused.  She slams the door in your face!
  131. `\`k
  132.     @drawmap
  133.     @update
  134.     @closescript
  135.     @end
  136.  
  137.  @do `i42 is 1
  138.  @show
  139. `\`\  `#"Wonderful!  I'll go tell Edward!"
  140.  
  141. `k  `%TWO HOURS LATER, YOU LEAVE - WITH LAURA AND EDWARD WITH YOU!
  142. `\`k
  143.   @drawmap
  144.   @update
  145.   @closescript
  146.   @end
  147.  
  148.  
  149. @if `i41 < 1 then do
  150.  @begin
  151.   @show
  152. `r0`c  `r1  THE CABIN  `r0
  153.  
  154. `2  A young woman opens the door.  `#"Can I help you?"
  155.  
  156.   @do write
  157. `x`x
  158.   @choice
  159. Hi um... Can I be your friend?
  160. I may be a stranger, but let me in!
  161. You don't know me, but I've been watching you for a long time...
  162.   @show
  163. `\`\  `#"S&sir - neither my uncle nor I know you.  Please leave."
  164. `\`k
  165.   @drawmap
  166.   @update
  167.   @closescript
  168.   @end
  169.  
  170.   @show
  171. `r0`c  `r1  THE CABIN  `r0
  172.  
  173. `2  A young woman opens the door.  `#"Can I help you?"
  174.  
  175.   @do write
  176. `x`x
  177.   @choice
  178. I have a letter for someone named Andrew from his sister?
  179. @
  180. @bitset `t12 4 1
  181. @do `i41 is 0 ;take away letter
  182. @show
  183. `\`\  `#"Yes!  I am his niece, Laura.  Yes my uncle would want to see you,
  184.   please come in.  But first, I must warn you..."
  185.  
  186. `k  `$"Warn me?  About what?" `2you ask.
  187.  
  188. `#  "My uncle has a slight disorder... I never mention it - he would be
  189.   positively crushed if we were to say anything about it...  So.. I would
  190.   be debted to you forever if you don't."
  191. `\`k`c  `r1  `%Meeting Uncle Edward  `r0
  192.  
  193.   `2Uncle Edward turns out to be a large jovial man with a round red face.
  194.  
  195.   He shakes your hand enthusiastically.
  196.  
  197. `k  `0"Nice to meeeheat you, `n`0!"
  198.  
  199. `k  `4YOU ARE KNOCKED OVER BY THE `bWORST BREATH`4 YOU HAVE EVER SMELLED!
  200.  
  201. @do `v01 is 1
  202. @do write
  203. `x`x
  204. @choice
  205. `%Nice to meet you too, Uncle Andrew!
  206. `%You have `4REALLY `%bad breath, did you know that?!
  207. @if responce is 1 then do
  208.   @begin
  209.   @show
  210. `\`\  `2He smiles and retires to a back room to read the letter.
  211.  
  212.   `2Laura winks at you!
  213.  
  214.   `%YOU GET ONE CHARM AND ALIGNMENT!
  215.   @do `p08 + 1
  216.   @do `p07 + 1
  217.   @end
  218.  
  219. @if responce is 2 then do
  220.   @begin
  221.   @show
  222. `\`\  `2You see a tear tricle down Uncle Andrew's cheek.  He quickly wipes
  223.   it off.  `0"I must read this in private... I'll be back in a moment."
  224.  
  225. `k  `2Laura slaps you.  
  226.  
  227.  `4 YOU LOSE ONE CHARM AND ALIGNMENT!
  228.   @if `p08 > 0 then `p08 - 1
  229.   @do `p07 - 1
  230.   @end
  231.  
  232.   @show
  233. `\`k`c  `r1  `%A CHANGE OF PLANS  `r0
  234.  
  235. `2  Edward appears from a back room.
  236.  
  237.   `0"We must go see her," `2he states gravely.
  238.  
  239.   `2Laura stands up. `#"It is too dangerous, Uncle!  If only we had someone
  240.   to travel with us... Someone who knew the roads.."
  241.  
  242. `k  `2All eyes turn to you.
  243.  
  244. @do `v01 is 1
  245. @do write
  246. `x`x
  247. @choice
  248. Absolutely NOT!  I am not a babysitter.
  249. Yes, I will take you to Ma, back in Greentree.
  250. @if response is 1 then do
  251.   @begin
  252.   @show
  253. `\`\  `2Edward look downcast and Laura leaves the room in a huff.
  254.  
  255.   `0"If you chahange `4::smell alert::`0 your mind, `n`0 - Please come back."
  256.  
  257.   `2There isn't much else to do but leave.
  258. `\`k
  259.   @drawmap
  260.   @update
  261.   @closescript
  262.   @end
  263.  
  264.   @show
  265. `\`\  `2Edward and Laura cheer in unison!
  266.  
  267.   `0"Wonderfull!  I'll pack my things!!" `2Uncle Edward shouts as he runs
  268.   out of the room.
  269.  
  270. `k  `%TWO HOURS LATER, YOU LEAVE - WITH LAURA AND EDWARD WITH YOU!
  271. `\`k
  272.  @do `i42 is 1
  273.  @drawmap
  274.  @update
  275.  
  276. @#ELLE
  277. ;elle's room
  278. @busy
  279. @do moveback
  280.  
  281. @if bitcheck `t12 3 1 then do
  282.   @begin
  283.  
  284.  @if bitcheck `t12 5 1 then do
  285.   @begin
  286.   @do saybar
  287. `#Elle`2: I lost my baby because of you!  GET OUT!
  288.   @closescript
  289.   @end
  290.  
  291.   @do saybar
  292. `#Elle`2: Thanks for talking to mum.  I wonder what she'll do?
  293.   @closescript
  294.  
  295.  @end
  296.  
  297. @if bitcheck `t12 2 1 then do
  298.   @begin
  299.   @do saybar
  300. `#Elle`2: Go talk to my mother!
  301.   @closescript
  302.   @end
  303.  
  304. @do write
  305. `r1
  306. @clearblock 21 21
  307. @do move 3 21
  308. @do write
  309. `r0  `2A girl is crying, talk to her? [`0Y`2/`0N`2] :`x
  310. @do readspecial `s01 YN
  311.  
  312. @if `s01 is N then do
  313.   @begin
  314.    @if `v06 is 1 then do
  315.      @begin
  316.      ;clean mode is on, so we can't say 'bitch'
  317.      @do saybar
  318. Poor girl, she needs to be alone.
  319.      @end
  320.  
  321.    @if `v06 is 0 then do
  322.      @begin
  323.      @do saybar
  324. Let the bitch cry.
  325.      @end
  326.   @closescript
  327.   @end
  328.  
  329. @do `v01 is 1
  330.  
  331. @label elletalk
  332. @show
  333. `r0`c  `r1  `%ELLE'S ROOM  `r0
  334.  
  335.   `2The girl stops her convulsive sobbing to speak with you.
  336.  
  337. @do write
  338. `x`x
  339. @choice
  340. Your ma is big, eh?
  341. Why the water works?
  342. Leave
  343. @if responce is 1 then do
  344.   @begin
  345.   @show
  346. `\`\  `0"Don't talk about my mother that way!  Get away from me!"
  347. `\`k
  348.   @drawmap
  349.   @update
  350.   @closescript
  351.   @end
  352.  
  353. @if responce is 2 then do
  354.   @begin
  355.   @do `s01 is a`xslut
  356.   @if `v06 is 1 then `s01 is pregnant
  357.   @show
  358. `\`\  `0"I'm pregnant!" `2she screams.
  359.  
  360. `k  `$"Woah!! Does your ma know?  She thinks you are good girl, if
  361.   she knew you were `s01 she'd have a heart attack!" `2you soothe.
  362.  
  363. `k  `0"I know," `2Elle tells you tearfully. `0"Would you tell her for me?  In
  364.   a nice way?  Make her understand that I LOVE Johnny!"
  365.  
  366. `k  `2You agree.
  367.  
  368.   `0"Thankyou!  Come back and tell me what happened!!!"
  369.  
  370. `k
  371.   @bitset `t12 2 1
  372.   @drawmap
  373.   @update
  374.   @closescript
  375.   @end
  376.  
  377. @drawmap
  378. @update
  379.  
  380. @#madoor
  381.  @if &lasty is 10 then do
  382.  @begin
  383.  @do moveback
  384.  @do saybar
  385. Only paying customers can go back there.
  386.  @end
  387.  
  388. @#MANB
  389. ;Man in the booth
  390. @DO SAYBAR
  391. `0"This is MY booth, go away."
  392. @do moveback
  393.  
  394. @#MABACK
  395. ;Man in the booth
  396. @DO SAYBAR
  397. `#Ma: `0What are you doing behind the counter?!
  398. @do moveback
  399.  
  400. @#CLEAN
  401. ;Table in Jack's restaurant
  402. @DO SAYBAR
  403. Someone needs to clean up this table.
  404. @do moveback
  405.  
  406. @#GIRL
  407. ;Girl in MA's bording
  408. @DO SAYBAR
  409. `#Estella: `0Hey there, I hope you'll stay a night.
  410. @do moveback
  411.  
  412. @#GIRL2
  413. ;Touching the Girl in Ma's bording
  414. @do moveback
  415.  
  416. @if &sex > 0 then do
  417. @BEGIN
  418. @DO SAYBAR
  419. `#Estella: `0Hey look but don't touch big boy.
  420. @END
  421.  
  422. @#door
  423.  @do saybar
  424. The door opens.
  425.  @end
  426.  
  427.  
  428.  
  429. @#ma
  430. ;ma from ma's boarding house
  431. @do moveback
  432. @do `v01 is 1
  433. @label startma
  434. @show
  435. `r0`c  `r1  `%Talking to Ma `r0
  436.  
  437. `2  'Ma' is a pleasantly plump woman with rosy cheeks.
  438.  
  439.   `0"What kin I do for ya, child?" `2she asks.
  440.  
  441. @do write
  442. `x`x
  443. @choice
  444. Get a room
  445. -`t12 5 Shoot the breeze with Ma
  446. +`t12 2 -`t12 3 Your daughter got knocked up!
  447. +`t12 1 I kill dogs.
  448. +`t12 3 -`t12 4 Where do I deliver this letter again?
  449. >`i42 0 I have Uncle Edward with me!
  450. +`t12 5 Shoot the breeze with Ma
  451. Leave
  452. @if response is 2 then do
  453.  @begin
  454. @if bitcheck `t12 3 1 then do
  455.   @begin
  456.  @show
  457. `\`\  `0"Not much to tell," `2Ma scowls. `0"My daughter Elle is the whore
  458.   of Greentree, that's all!"
  459.  
  460. `k
  461.  @do goto startma
  462.  
  463.  
  464.   @end
  465.  @show
  466. `\`\  `0"Not much to tell," `2Ma smiles. `0"My daughter Elle is the light
  467.   of my life.  I am so proud of her!"
  468.  
  469. `k
  470.  @do goto startma
  471.  @end
  472.  
  473. @if response is 7 then do
  474.  @begin
  475.  @show
  476. `\`\  `0"Not much to tell," `2Ma smiles. `0"Elle still hates me and Laura
  477.   and Edward are still visiting.  They are renting a house near here."
  478.  
  479. `k
  480.  @do `v01 is 1
  481.  @do goto startma
  482.  @end
  483.  
  484.  
  485. @if response is 3 then do
  486.  @begin
  487.  @show
  488. `\`\  `0"With who?!?!?!" `2the portly woman screams.  Ma looks like she is
  489.   ready to explode.
  490.  
  491. `k  `$"That Johnny guy.  Yeah, ya want me to kill 'em for you?"
  492.  
  493. `k  `2Ma thinks hard.  `0"No.. No we need something else.  I want you to
  494.   deliver this letter to my brother Andrew urgently.  Please don't read it."
  495.  
  496. `k  `%YOU GET THE LETTER!
  497.  
  498. @if `i20 > 0 then do
  499.   @begin
  500.   @show
  501.   `2Your map was marked with his location.
  502.   @end
  503. @if `i20 = 0 then do
  504.   @begin
  505.   @show
  506.   `2If you buy a map, it will be marked with his location.
  507.   @end
  508.  
  509.  @show
  510. `\`k
  511.  @bitset `t12 3 1
  512.  @do `i41 is 1
  513.  @do goto startma
  514.  @end
  515.  
  516.  
  517. @if response is 5 then do
  518.  @begin
  519.  @show
  520. `\`\  `0"Take the letter to my brother Edward.  He lives about 4 miles south
  521.   of Greentree," `2Ma tells you.
  522.  
  523. `k
  524.  @do `v01 is 1
  525.  @do goto startma
  526.  @end
  527.  
  528. @if response is 6 then do
  529.  @begin
  530.  @show
  531. `\`\  `0"Edward!!! How I've missed you!" `2cries Ma.  `0"And with Laura too!"
  532.  
  533. `k  `2Your eyes moisten at this happy reunion.
  534.  
  535.   `0"Did you bring it?" `2Ma asks seriously.
  536.  
  537.   `2Edward slowly pulls something out of his knapsack...
  538.  
  539. `k  `%IT IS A GOLDEN COAT HANGER.
  540.  
  541. `k  `0"We must do this now," `2Edward states somberly.
  542.  
  543. `k`c  `r1 A little something different happens at the Inn... `r0
  544.  
  545.   `2A few minutes later you hear screams coming from upstairs.
  546.  
  547. `k  `2Later Ma comes down.  `0"Thanks to you, Elle is a virgin again.  At
  548.   least that's what we're gonna say, right?" `2she nudges with a wink.
  549.  
  550. `k  `%MA GIVES YOU 2000 GOLD AND YOUR CHARM GOES UP BY ONE.
  551.  
  552. `k
  553.  @bitset `t12 5 1
  554.  @do money + 2000
  555.  @do `p08 + 1
  556.  @do `i42 is 0
  557.  @drawmap
  558.  @update
  559.  @end
  560.  
  561.  
  562. @if response is 4 then do
  563.  @begin
  564.  @show
  565. `\`\  `0"I'm so happy for you," `2Ma smiles.
  566.  
  567. `k
  568.  @do goto startma
  569.  @end
  570.  
  571.  
  572. @if response is 1 then do
  573.  @begin
  574.  @show
  575. `\`\  `0"Ok, that will be $50."
  576. @do write
  577. `\`x`x
  578. @choice
  579. Ok!
  580. <`p07 -4 `4If I'm gonna spend `$$50`4, I might as well go up to the whore house, bitch.
  581. >`p07 -5 No way!
  582.  @if response is 1 then do
  583.    @begin
  584.    @if money < 50 then do
  585.     @begin
  586.     @show
  587. `\`\  `2Damn it... You only have `$$&money`2!
  588. `\`k
  589.     @do goto startma
  590.     @end
  591.    @show
  592.    @do money - 50
  593. `\`\  `2Ma takes your money and tells you to find a room upstairs.
  594.    @do y - 2
  595.    @do x - 1
  596.    @drawmap
  597.    @update
  598.    @closescript
  599.    @end
  600.  @if response is 2 then do
  601.   @begin
  602.   @show
  603. `\`\  `2Ma's face turns beet red.  Haw, serves her right.`\`\`k
  604.   @end
  605.  
  606.  @if response is 3 then do
  607.   @begin
  608.   @show
  609. `\`\  `2Maybe later - `$50 `2is a bit much.`\`\`k
  610.   @end
  611.  
  612.  
  613.  
  614.  @do goto startma
  615.  @end
  616.  
  617.  
  618. @drawmap
  619. @update
  620.  
  621.  
  622. @#mother
  623. ;chick waiting for her daughter in RDI
  624. @do moveback
  625. @busy
  626. @do `v01 is 1
  627. @show
  628. `r0`c  `%`r1 Talking to a patron `r0
  629.  
  630. `2  A woman is sitting on a stool.
  631.  
  632. @do write
  633. `x`x
  634. @choice
  635. >`i11 0 `%Hello, woman, why so worried?
  636. >`i11 0 I have returned your daughter!  Safe and sound.
  637. =&sex 1 !`i11 1 Hey baby, wassup?
  638. Leave
  639. @if responce is 1 then do
  640.  @begin
  641.  @show
  642. `\`\  `0"My daughter was supposed to meet me here!  She is never this late!"
  643.  
  644. `k
  645. @do goto mother
  646.  @end
  647.  
  648. @if responce is 3 then do
  649.  @begin
  650.  @show
  651. `\`\  `0"Get lost, creep!"
  652.  
  653.   `2Damn!  She is outta your league anyway.
  654.  
  655. `k
  656. @do goto mother
  657.  @end
  658.  
  659.  
  660. @if responce is 2 then do
  661.  @begin
  662.  @do money + 50
  663.  @do `p01 + 10
  664.  @do `i11 - 1
  665.  @show
  666. `\`\  `0"Thank you so much!!!  You saved her life!"
  667.  
  668.   `2The woman gives you `$$50`2! `2 You receive `010`2 experience for helping the community.
  669. `k
  670. @end
  671.  
  672.  
  673. @drawmap
  674. @update
  675.  
  676. @#CHATWALL
  677. @do moveback
  678. @busy
  679. @show
  680. `r0`c  `r1  SCRIBBLING ON THE BULLETIN BOARD  `r0
  681.  
  682. @if bar.txt exist false then do
  683.  @begin
  684.  @writefile bar.txt
  685.   `%Bartender `2: `0Notice - Do not graffiti on this or else!
  686.  @end
  687.  
  688. @if bar.txt exist true then do
  689.  @begin
  690.  @displayfile bar.txt
  691.  @end
  692.  
  693. @show
  694.  
  695. @
  696. (Do tricky stuff with name to determine how much they can type)
  697. @DO `s04 is `%
  698. @DO `s04 add `n
  699. @DO STRIP `s04 <-- Strips all none color ` codes out
  700. @DO `s04 add `x`2:`x`0
  701. @DO `p20 is length `s04
  702. @DO `p21 is 76
  703. @DO `p21 - `p20
  704. @DO WRITE
  705.   `2Enter a special message or `0ENTER`2 to abort.`\  `s04
  706. @DO READSTRING `p21 NIL `s03 <--Read string, NIL is default. (nothing)
  707. @do stripbad `s03
  708. @SHOW
  709.  
  710. @DO `p24 is length `s03
  711. @IF `p24 less 3 then do
  712.  @begin
  713.  @drawmap
  714.  @update
  715.  @closescript
  716.  @end
  717.  
  718.  @writefile bar.txt
  719.   `%`n`2 : `0`s03
  720.  @do trim bar.txt 17
  721.  @drawmap
  722.  @update
  723.  
  724. @#NOTHING
  725.